﻿<?php 
	$footer = new Zend_Config_Ini(APPLICATION_PATH."/configs/website.ini","footer");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $this->headMeta(); ?>
<?php echo $this->headTitle(); ?>
<?php echo $this->headLink(); ?>
<?php echo $this->headScript(); ?>
<link href="<?php echo $this->baseUrl()?>/public/templates/default/favicon.png" type="image/x-icon" rel="shortcut icon">
<?php
$model = new Model_SiteInfo_SiteInfo();
$info = $model->getItemId(1);
if($info['google_webmaster']!='')
echo '<meta name="google-site-verification" content="'.$info['google_webmaster'].'">';
if($info['google_analytics']!='')
{
?>
<script type="text/javascript">
  		      var _gaq = _gaq || [];
			  _gaq.push(['_setAccount', '<?php echo $info['google_analytics'];?>']);
			  _gaq.push(['_trackPageview']);
			
			  (function() {
			    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
			  })();
			
			</script>

	<?php
}

?>
<script type="text/javascript"> 
	$(document).ready(function() {
		$(".submenu").hide();
	$(".hover").mouseover(function () {
		$(".submenu").slideDown('slow');
	});

	$(".hoveri").mouseleave(function () {
		$("#citydrop").slideUp('slow');
	});
	 });
	</script>
	
	<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "0640c82c-8ce4-434a-b19b-f3d589918c41", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
	  var js, fjs = d.getElementsByTagName(s)[0];
	  if (d.getElementById(id)) return;
	  js = d.createElement(s); js.id = id;
	  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1&appId=579710862077583";
	  fjs.parentNode.insertBefore(js, fjs);
	}(document, 'script', 'facebook-jssdk'));
	</script>
<header>
<div class="in_header"><a href="<?php echo $this->baseUrl();?>/" class="logo"><img
	src="<?php echo $this->baseUrl();?>/public/templates/default/images/logo.jpg"
	alt="" /></a> 
    <div class="search_form">
<form action="<?php echo $this->baseUrl()?>/tim-kiem.html" method="post">
<input class="txt_s" type="text" name="txtKeyword" value="" /> <input
	class="bt_s" type="submit" name="submit" value="" /></form>
</div>
	<?php $this->LoadBlock('TopMenu');?>
</div>
</header>
<!-- end header-->
<div class="main"><?php echo $this->layout()->content; ?></div>
<!-- end main-->
<footer>
<div class="container">
<div class="social_fb">
<div class="fb-like-box"
	data-href="https://www.facebook.com/sonitafashions" data-width="505"
	data-height="180" data-colorscheme="light" data-show-faces="true"
	data-header="false" data-stream="false" data-show-border="true"></div>
</div>
<!-- end social_fb-->
<div class="info_ft">
<?php echo $footer->contact; ?>
</div>
</div>
<div id="hotline"><img src="<?php echo $this->baseUrl()?>/public/templates/default/images/hotline.png" alt="" /></div>
</footer>
</body>
</html>
